
<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ include file="/common/taglibs.jsp"%>
<head>
    <script src="${ctx }/js/jquery.form.js" type="text/javascript"></script>
    <script src="${ctx }/js/ajaxfileupload.js" type="text/javascript"
    ></script>
</head>
<div class="pageContent">
    <form action="${ctx }/version/doAdd" method="post"
          onsubmit="return validateCallback(this , dialogAjaxDone);">
        <div class="pageFormContent" layoutH="56">
            <p>
                <label style="color: #ff0000">客户端类型:</label>
                <select id="clientType" name="clientType" style="width:180px">
                    <option value="1" selected>学生端</option>
                    <option value="2" >老师端</option>
                </select>
            </p>
            <div class="divider"/>
            <p>
                <label style="color: #ff0000">系统类型:</label>
                <select id="osType" name="osType" style="width:180px">
                    <option value="ios">IOS</option>
                    <option value="android" selected>Android</option>
                </select>
            </p>
            <div class="divider"/>
            <p>
                <label>版本号:</label>
                <input name="version" class="required" 　type="text" class="" maxlength="50" style="width:180px"
                       value=""/>
            </p>
            <div class="divider"/>
            <p>
                <label>渠道信息:</label>
                <input name="channels" class="required" 　type="text" class="" maxlength="50" style="width:180px"
                       value=""/>
            </p>
            <div class="divider"/>
            <p>
                <label>OS适用最低版本:</label>
                <input name="osLowVersion" class="" 　type="text" class="" maxlength="50" style="width:180px"
                       value=""/>
            </p>
            <div class="divider"/>

            <p>
                <label>OS适用最高版本:</label>
                <input name="osHighVersion" class="" 　type="text" class="" maxlength="50" style="width:180px"
                       value=""/>
            </p>
            <div class="divider"/>
            <p>
                <label>下载地址:</label>
                <input name="downloadUrl" class="required" 　type="text" class="" maxlength="50" style="width:180px"
                       value=""/>
            </p>
            <div class="divider"/>
            <p>
                <label style="color: #ff0000">是否需要强制升级:</label>
                <select id="beforceupdate" name="beforceupdate" style="width:180px">
                    <option value="false" selected>否</option>
                    <option value="true" >是</option>
                </select>
            </p>
            <div class="divider"/>
            <p>
                <label>版本升级说明</label>
                <input name="remark" class="" 　type="textarea" class="" maxlength="50" style="width:180px"
                       value=""/>
            </p>
            <div class="divider"/>
        </div>
        <div class="formBar">
            <ul>
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit">保存</button>
                        </div>
                    </div>
                </li>
                <li>
                    <div class="button">
                        <div class="buttonContent">
                            <button type="button" class="close">取消</button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </form>
</div>
